package C06.E24;

class DOg{
    String eat;
    Integer age;
    public <T> void show(T t) {
        System.out.println(t);
    }
}
public class E24 {
    public static void main(String[] args) {
        DOg dOg = new DOg();
        dOg.show("hello");
        dOg.show(12);
        dOg.show(12.5);
    }
}
